package com.sc.everyonerentboot.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
public class PhoneTabletParameters extends AbstractParameter implements Serializable {
    private String id;
    private String Type;

    public PhoneTabletParameters(String id, String type, String model, String networkMode, String storageCapacity, String ram, String unlockMethod, Date releaseDate, Integer refreshRate, BigDecimal screenSize, String source, String processor, String dataCableInterface, Integer wlanFunction) {
        this.id = id;
        Type = type;
        this.model = model;
        this.networkMode = networkMode;
        this.storageCapacity = storageCapacity;
        this.ram = ram;
        this.unlockMethod = unlockMethod;
        this.releaseDate = releaseDate;
        this.refreshRate = refreshRate;
        this.screenSize = screenSize;
        this.source = source;
        this.processor = processor;
        this.dataCableInterface = dataCableInterface;
        this.wlanFunction = wlanFunction;
    }

    public String getType() {
        return Type;
    }

    public void setType(String type) {
        Type = type;
    }

    private String model;

    private String networkMode;

    private String storageCapacity;

    private String ram;

    private String unlockMethod;

    private Date releaseDate;

    private Integer refreshRate;

    private BigDecimal screenSize;

    private String source;

    private String processor;

    private String dataCableInterface;

    private Integer wlanFunction;

    private static final long serialVersionUID = 1L;

    public PhoneTabletParameters(String model, String networkMode, String storageCapacity, String ram, String unlockMethod, Date releaseDate, Integer refreshRate, BigDecimal screenSize, String source, String processor, String dataCableInterface, Integer wlanFunction) {
        this.model = model;
        this.networkMode = networkMode;
        this.storageCapacity = storageCapacity;
        this.ram = ram;
        this.unlockMethod = unlockMethod;
        this.releaseDate = releaseDate;
        this.refreshRate = refreshRate;
        this.screenSize = screenSize;
        this.source = source;
        this.processor = processor;
        this.dataCableInterface = dataCableInterface;
        this.wlanFunction = wlanFunction;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model == null ? null : model.trim();
    }

    public String getNetworkMode() {
        return networkMode;
    }

    public void setNetworkMode(String networkMode) {
        this.networkMode = networkMode == null ? null : networkMode.trim();
    }

    public String getStorageCapacity() {
        return storageCapacity;
    }

    public void setStorageCapacity(String storageCapacity) {
        this.storageCapacity = storageCapacity == null ? null : storageCapacity.trim();
    }

    public String getRam() {
        return ram;
    }

    public void setRam(String ram) {
        this.ram = ram == null ? null : ram.trim();
    }

    public String getUnlockMethod() {
        return unlockMethod;
    }

    public void setUnlockMethod(String unlockMethod) {
        this.unlockMethod = unlockMethod == null ? null : unlockMethod.trim();
    }

    public Date getReleaseDate() {
        return releaseDate;
    }

    public void setReleaseDate(Date releaseDate) {
        this.releaseDate = releaseDate;
    }

    public Integer getRefreshRate() {
        return refreshRate;
    }

    public void setRefreshRate(Integer refreshRate) {
        this.refreshRate = refreshRate;
    }

    public BigDecimal getScreenSize() {
        return screenSize;
    }

    public void setScreenSize(BigDecimal screenSize) {
        this.screenSize = screenSize;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source == null ? null : source.trim();
    }

    public String getProcessor() {
        return processor;
    }

    public void setProcessor(String processor) {
        this.processor = processor == null ? null : processor.trim();
    }

    public String getDataCableInterface() {
        return dataCableInterface;
    }

    public void setDataCableInterface(String dataCableInterface) {
        this.dataCableInterface = dataCableInterface == null ? null : dataCableInterface.trim();
    }

    public Integer getWlanFunction() {
        return wlanFunction;
    }

    public void setWlanFunction(Integer wlanFunction) {
        this.wlanFunction = wlanFunction;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", model=").append(model);
        sb.append(", networkMode=").append(networkMode);
        sb.append(", storageCapacity=").append(storageCapacity);
        sb.append(", ram=").append(ram);
        sb.append(", unlockMethod=").append(unlockMethod);
        sb.append(", releaseDate=").append(releaseDate);
        sb.append(", refreshRate=").append(refreshRate);
        sb.append(", screenSize=").append(screenSize);
        sb.append(", source=").append(source);
        sb.append(", processor=").append(processor);
        sb.append(", dataCableInterface=").append(dataCableInterface);
        sb.append(", wlanFunction=").append(wlanFunction);
        sb.append("]");
        return sb.toString();
    }

    public PhoneTabletParameters() {
    }

    public PhoneTabletParameters(String id, String model, String networkMode, String storageCapacity, String ram, String unlockMethod, Date releaseDate, Integer refreshRate, BigDecimal screenSize, String source, String processor, String dataCableInterface, Integer wlanFunction) {
        this.id = id;
        this.model = model;
        this.networkMode = networkMode;
        this.storageCapacity = storageCapacity;
        this.ram = ram;
        this.unlockMethod = unlockMethod;
        this.releaseDate = releaseDate;
        this.refreshRate = refreshRate;
        this.screenSize = screenSize;
        this.source = source;
        this.processor = processor;
        this.dataCableInterface = dataCableInterface;
        this.wlanFunction = wlanFunction;
    }
}